package com.hirain.observerjava;

import org.junit.Test;

/**
 * Created by caicf on 2016/8/17.
 */
public class TestCls {
    @Test
    public void test() {
        Hunter hunter=new Hunter();
        hunter.addObserver(new JobSeeker("caicf0"));
        hunter.addObserver(new JobSeeker("caicf1"));
        hunter.addObserver(new JobSeeker("caicf2"));
        hunter.addObserver(new JobSeeker("caicf3"));
        hunter.addObserver(new JobSeeker("caicf4"));
        hunter.addJobs(new Job("Java开发"));
        hunter.addJobs(new Job("前端开发工程师"));
    }
}
